package com.ylsk.check.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;
import com.ylsk.common.core.domain.BaseEntity;

/**
 * 撤场上报对象 ins_withdrawal_report
 *
 * @author yangsy
 * @date 2023-12-21
 */
@TableName("ins_withdrawal_report")
public class WithdrawalReport extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 撤场上报id */
    @TableId
    private Long withdrawalReportId;

    /** 项目报备id */
    @Excel(name = "项目报备id")
    private Long reportInfoId;

    /** 撤场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "撤场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date withdrawalTime;

    /** 撤场照片和视频 */
    private Long withdrawalFileId;

    /** 经度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal longitude;

    /** 纬度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal latitude;

    /** 道路名称 */
    @TableField(fill = FieldFill.INSERT)
    private String roadName;

    /** 方向 */
    @TableField(fill = FieldFill.INSERT)
    private String direction;

    /** 所属大队 */
    private Long deptId;

    /** 审核人 */
    private Long reviewedBy;

    /** 备注 */
    private String remark;

    /** 占道上报id */
    private Long jeevesReportId;

    /**  0阶段性施工结束   1整个项目施工结束 */
    private Integer endProject;

    public void setWithdrawalReportId(Long withdrawalReportId)
    {
        this.withdrawalReportId = withdrawalReportId;
    }

    public Long getWithdrawalReportId()
    {
        return withdrawalReportId;
    }
    public void setReportInfoId(Long reportInfoId)
    {
        this.reportInfoId = reportInfoId;
    }

    public Long getReportInfoId()
    {
        return reportInfoId;
    }
    public void setWithdrawalTime(Date withdrawalTime)
    {
        this.withdrawalTime = withdrawalTime;
    }

    public Date getWithdrawalTime()
    {
        return withdrawalTime;
    }
    public void setWithdrawalFileId(Long withdrawalFileId)
    {
        this.withdrawalFileId = withdrawalFileId;
    }

    public Long getWithdrawalFileId()
    {
        return withdrawalFileId;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setRoadName(String roadName)
    {
        this.roadName = roadName;
    }

    public String getRoadName()
    {
        return roadName;
    }
    public void setDirection(String direction)
    {
        this.direction = direction;
    }

    public String getDirection()
    {
        return direction;
    }

    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setReviewedBy(Long reviewedBy)
    {
        this.reviewedBy = reviewedBy;
    }

    public Long getReviewedBy()
    {
        return reviewedBy;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getJeevesReportId() {
        return jeevesReportId;
    }

    public void setJeevesReportId(Long jeevesReportId) {
        this.jeevesReportId = jeevesReportId;
    }

    public Integer getEndProject() {
        return endProject;
    }

    public void setEndProject(Integer endProject) {
        this.endProject = endProject;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("withdrawalReportId", getWithdrawalReportId())
            .append("reportInfoId", getReportInfoId())
            .append("withdrawalTime", getWithdrawalTime())
            .append("withdrawalFileId", getWithdrawalFileId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("roadName", getRoadName())
            .append("direction", getDirection())
            .append("delFlag", getDelFlag())
            .append("deptId", getDeptId())
            .append("reviewedBy", getReviewedBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
